import {
    request
} from './request'

export const getOrderListapi = (params) => {
    return request({
        url: 'orders',
        params
    })
}
//订单状态
export const orderstatusapi = (id, params) => {
    // console.log(id)
    return request({
        url: `orders/${id}`,
        method: 'put',
        data: params
    })
}

export const queryOidapi = (id) => {
    // console.log(id)
    return request({
        url: `orders/${id}`,
        method: 'get',
    })
}